#include "init.h"


void system_init()
{
	unsigned char temp;
	P0 = 0XFF;
	temp = P2 & 0X1F;
	temp = temp | 0x80;
	P2 = temp;
	temp = P2 & 0X1F;
	P2 = temp;
	
	P0 = 0X00;
	temp = P2 & 0X1F;
	temp = temp | 0xa0;
	P2 = temp;
	temp = P2 & 0X1F;
	P2 = temp;
}